package com.hk.domain.dto;


import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import javax.validation.constraints.NotBlank;

@AllArgsConstructor
@NoArgsConstructor
@ToString
@Getter
@Setter
@ApiModel("用户登录对象")
public class UserDTO {

    @ApiModelProperty("用户名称")
    @NotBlank(message = "用户名称不能为空")
    private String username;

    @ApiModelProperty("用户密码")
    @NotBlank(message = "用户密码不能为空")
    private String password;


}
